import Port from './Config/setting.js'
import Koa from 'koa';
// create Koa
const apply = new Koa();
//text
// apply.use(async (ctx, next) => {
// 	ctx.body = "Connect Text!"
// 	await next();
// })

// RedistyRouter
let Router = await import('./Controller/getRouter.js')
Router.default(apply);

apply.listen(Port, () => {
	console.log(`server is run at http://127.0.0.1:${Port}`)
})